interface Boxe<T> {
    name: T
    age: T;
}


// 必须显示声明泛型的类型
const data222: Boxe<string> = {
    name: '',
    age: ''
}


interface Applee<T> {
    contents: T
}


interface pairs {
    address: string
}

let ar: pairs = {
    address: ''
}

type appleBox = Applee<pairs>

let da: appleBox = {
    contents: ar
}

